<!DOCTYPE html>
<html lang="zh-cn">
  <head>
    <title><%=title%></title>
    <link rel="stylesheet" href="/theme/assets/style.css">
    <link rel="alternate" type="application/rss+xml" title="<%=title%>" href="http://feeds.feedburner.com/willerce">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <script type="text/javascript">var _gaq=_gaq||[];_gaq.push(['_setAccount','UA-32857089-1']);_gaq.push(['_trackPageview']);(function(){var ga=document.createElement('script');ga.type='text/javascript';ga.async=true;ga.src=('https:'==document.location.protocol?'https://ssl':'http://www')+'.google-analytics.com/ga.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(ga,s)})();</script>
    <script src="//libs.qiniudn.com/jquery/1.9.1/jquery.min.js"></script>
  </head>
  <body>
    <header id="main-header">
      <div class="container"><a id="logo" href="/" title="<%=name%>"><%=name%></a>
        <nav>
          <ul>
            <li><a href="/page/about">关于我</a></li>
            <li><a href="/page/dream-list">梦想清单</a></li>
            <li><a href="/archives">文章存档</a></li>
            <li><a href="/page/links">有情链接</a></li>
          </ul>
        </nav>
      </div>
    </header>
    <%- body %>
    <footer id="main-footer">
    <div class="container">
      <p>Lovingly made by willerce, Powered by <a href="https://github.com/willerce/noderce">Noderce</a></p>
      <p>Thanks WebStorm, Nodejs and Express</p>
    </div>
    </footer>
    <div id="backtop"><span>回到顶部</span></div>
    <script src='//libs.qiniudn.com/prettify/r224/prettify.js'></script>
    <script type='text/javascript'>
      $(document).ready(function(){
        $("#backtop").hide();
        $(window).scroll(function () {
          if ($(this).scrollTop() > 100) {
            $('#backtop').fadeIn();
          } else {
            $('#backtop').fadeOut();
          }
        });
        $('#backtop').click(function () {
          $('body,html').animate({
            scrollTop: 0
          }, 500);
        });
        $("pre").addClass("prettyprint");
        prettyPrint();
      });
    </script>
  </body>
</html>